All Packages Class Hierarchy This Package Previous Next Index
Class aka.snmp.MibManager
java.lang.Object
|
+----aka.snmp.MibManager
- public class MibManager
- extends Object
Responsible for holding the heirachy of managed objects. Reads them
in from a number of different formats
- See Also:
- SnmpObject
-
_tableID
-
-
_tableName
-
-
MibManager()
- Constructor
-
baseForm(String)
- Converts a SNMP ID represented in a dot notation that contains
SNMP Object names and numbers, to one containing only numbers.
-
contains(ObjectId)
- Returns SNMP Object with this ID
-
containsName(String)
- If SNMP Object is present with this name, returns SNMP ID of
object.
-
dump()
- Dumps all SNMP Objects to standard output.
-
dump2()
- Dumps all SNMP Objects to standard output.
-
insertObject(SnmpObject)
- Insert a new object into the MIB
-
main(String[])
- Test harness
-
reduceToName(ObjectId)
- Reduces the SNMP ID to the name, with instance variables
attached
_tableName
protected Hashtable _tableName
_tableID
protected Hashtable _tableID
MibManager
public MibManager()
- Constructor
insertObject
public boolean insertObject(SnmpObject obj)
- Insert a new object into the MIB
dump
public void dump()
- Dumps all SNMP Objects to standard output.
dump2
public void dump2()
- Dumps all SNMP Objects to standard output. Different means
of access
containsName
public ObjectId containsName(String name)
- If SNMP Object is present with this name, returns SNMP ID of
object.
contains
public SnmpObject contains(ObjectId id)
- Returns SNMP Object with this ID
reduceToName
public String reduceToName(ObjectId id)
- Reduces the SNMP ID to the name, with instance variables
attached
baseForm
public ObjectId baseForm(String id)
- Converts a SNMP ID represented in a dot notation that contains
SNMP Object names and numbers, to one containing only numbers.
It does this using SNMP Objects currently stored.
main
public static void main(String args[])
- Test harness
All Packages Class Hierarchy This Package Previous Next Index